/**
 * createor: zc
 * email: zc8023zs@163.com
 * create_time: 2020/3/14 13:46:24
 */
import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/system/systags/getSysTagsList',
    method: 'post',
    params: query
  })
}

export function createObj(data) {
  return request({
    url: '/system/systags/addSysTags',
    method: 'post',
    params: data
  })
}

export function updateObj(data) {
  return request({
    url: '/system/systags/updateSysParams',
    method: 'post',
    params: data
  })
}


export function deleteObj(data) {
  return request({
    url: '/system/systags/deleteSysTag',
    method: 'post',
    params: {tag_id:data.tag_id}
  })
}
